package fr.pascal.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class DetailViewImpl extends Composite implements DetailView {

	private static DetailViewImplUiBinder uiBinder = GWT.create(DetailViewImplUiBinder.class);

	interface DetailViewImplUiBinder extends UiBinder<Widget, DetailViewImpl> {
	}
	
	@UiField
	Label detailAnimal;

	public DetailViewImpl() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public void setDetailAnimal(String detail) {
		detailAnimal.setText(detail);
	}
}
